  <ion-view view-title="设置">
    <ion-nav-buttons side="left">
      <a class="button button-icon icon ion-ios-arrow-left" href="#/tab/userinfo">
      </a>
    </ion-nav-buttons>
    <ion-content style="background-color: #eee">
      <ion-item class="item-avatar item-icon-right" style="margin:10px 0">
        <img ng-src="{{userInfo.head_ico}}" >
        <input type="file" id="inputImage" name="file" accept="image/*" style="position: absolute;width: 100%;height: 7.8rem;top: 0;float: left;opacity: 0;">
        <h2 ng-bind="userInfo.name"></h2>
        <i class="icon ion-ios-arrow-right" ></i>
      </ion-item>
      <ion-list>
        <ion-item class="item-icon-right" ng-click="identification()">
          <span>实名认证</span>
          <span style="float:right;" class=" ion-ios-email-outline"></span>
          <span style="float:right;color: rgb(203,203,203)" ng-bind="isRealInfo?'已认证':'未认证'"></span>
          <i class="icon ion-ios-arrow-right" ></i>
        </ion-item>
        <ion-item class="item-icon-right">
          <span>担保交易</span>
          <span style="float:right;background:rgb(58,222,168)" class=" ion-android-radio-button-off"></span>
          <span style="float:right;color: rgb(203,203,203)" ng-bind="isDeal?'已担保':'未担保'"></span>
          <i class="icon ion-ios-arrow-right" ></i>
        </ion-item>
        <ion-item class="item-icon-right" ui-sref="security">
          <span >账户安全</span>
          <i class="icon ion-ios-arrow-right" ></i>
        </ion-item>
        <ion-item class="item-icon-right">
          <span>版本更新</span>
          <span style="float:right;color: rgb(203,203,203)" ng-bind="version"></span>
          <i class="icon ion-ios-arrow-right" ></i>
        </ion-item>
      </ion-list>
      <button class="button " style="background: rgb(252,72,66);margin: 40px 5% 0 5%;width: 90%;border-radius: 10px;color: white" ng-click="loginOut()">
        退出当前账户
      </button>
    </ion-content>
  </ion-view>


